import request from '@/utils/request'//引入ajax
const api_name = '/admin/pinggu' //链接后台的路径
//将数据传向后台进行判断 返回结果 
export const result = (pingg) => {
    return request({
        url: `${api_name}/result`,
        method: 'post',
        data:pingg
    })
}
//糖尿病返回的结果 
export const results = (tnbpingg) => {
    return request({
        url: `${api_name}/results`,
        method: 'post',
        data:tnbpingg
    })
}
//将评估结果保存到患者档案中  
export const AddEvaluate = (pinggwenjuan) => {
    return request({
        url: `${api_name}/AddEvaluate`,
        method: 'post',
        data:pinggwenjuan
    })
}
